Move -Wmissing-prototypes from Makefile to .travis.yml (#79)
authorTony Kelman <tony@kelman.net>
Sat, 16 Jul 2016 10:16:03 +0000 (03:16 -0700)
committerSteven G. Johnson <stevenj@mit.edu>
Sat, 16 Jul 2016 10:16:03 +0000 (11:16 +0100)
since MSVC doesn't understand this flag, and the current
mechanism for building Julia with MSVC goes through the makefile

.travis.yml
Makefile

index b871b47f3944eb626a2dba1eba579bae408cbbb9..7a53b5913a2ca3c3677053e5c965cb7eadd8e2ca 100644 (file)
@@ -19,4 +19,4 @@ script:
 env:
     # use JuliaLang caching (https://github.com/staticfloat/cache.julialang.org)
     # so that Travis builds do not depend on anyone's flaky servers but our own
-    - URLCACHE=https://cache.julialang.org/ CFLAGS="-O2 -Werror"
+    - URLCACHE=https://cache.julialang.org/ CFLAGS="-O2 -Werror -Wmissing-prototypes"
index 117974809d32801ff1b3d3beb6740ec91a4511f3..cf4970d7098243e79bd282f42ce92ea99c407f81 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ FIND=find
 CFLAGS ?= -O2
 PICFLAG = -fPIC
 C99FLAG = -std=c99
-WCFLAGS = -Wall -Wmissing-prototypes -pedantic
+WCFLAGS = -Wall -pedantic
 UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) $(WCFLAGS) -DUTF8PROC_EXPORTS
 
 # shared-library version MAJOR.MINOR.PATCH ... this may be *different*